package com.jc.service.model.jg;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 商品
 * @author GongYun
 * @version 3.5
 */
public class Goods {

	/**
	 * 商品ID
	 */
	private long id;
	
	/**
	 * 品牌ID
	 */
	private int brandId;
	
	/**
	 * 建议售价(单位分)
	 */
	private int suggestedPrice;
	
	/**
	 * 分类父ID
	 */
	private int categoryParentId;
	
	/**
	 * 分类ID
	 */
	private int categoryId;
	
	/**
	 * 商品归属分类 （1.正常2.福利社 3体验）
	 */
	private int ascription;
	
	/**
	 * 商品渠道 1电商；2门店；3海淘
	 */
	private int channel;
	
	/**
	 * 商品编码
	 */
	private String goodsCode;
	
	/**
	 * 商品使用规格值
	 */
	private String specDesc;
	
	/**
	 * 服务JSON实例化
	 */
	private String serviceDesc;
	
	/**
	 * 商品名称
	 */
	private String name;
	
	/**
	 * 商品别名
	 */
	private String labelName;
	
	/**
	 * 商品单位
	 */
	private String unit;
	
	/**
	 * 备注
	 */
	private String remark;
	
	/**
	 * 上线时间
	 */
	private String onlineTime;
	
	/**
	 * 下线时间
	 */
	private String offlineTime;
	
	/**
	 * 微信小图链接
	 */
	private String wxSmallImgpath;
	
	@JsonProperty("goodsId") //把该属性的名称序列化为goodsId
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getServiceDesc() {
		return serviceDesc;
	}

	public void setServiceDesc(String serviceDesc) {
		this.serviceDesc = serviceDesc;
	}

	public String getSpecDesc() {
		return specDesc;
	}

	public void setSpecDesc(String specDesc) {
		this.specDesc = specDesc == null ? null : specDesc.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public int getBrandId() {
		return brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName == null ? null : labelName.trim();
	}

	public int getSuggestedPrice() {
		return suggestedPrice;
	}

	public void setSuggestedPrice(int suggestedPrice) {
		this.suggestedPrice = suggestedPrice;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit == null ? null : unit.trim();
	}

	public int getCategoryParentId() {
		return categoryParentId;
	}

	public void setCategoryParentId(int categoryParentId) {
		this.categoryParentId = categoryParentId;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public String getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}

	public String getOfflineTime() {
		return offlineTime;
	}

	public void setOfflineTime(String offlineTime) {
		this.offlineTime = offlineTime;
	}

	public int getAscription() {
		return ascription;
	}

	public void setAscription(int ascription) {
		this.ascription = ascription;
	}

	public String getWxSmallImgpath() {
		return wxSmallImgpath;
	}

	public void setWxSmallImgpath(String wxSmallImgpath) {
		this.wxSmallImgpath = wxSmallImgpath;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public int getChannel() {
		return channel;
	}

	public void setChannel(int channel) {
		this.channel = channel;
	}

}